#include "worditem.h"

WordItem::WordItem(WordItem *parent) :
	m_word(parent->word()),
	m_translate(parent->translate()),
	m_transcription(parent->transcription()),
	m_plusesCount(parent->plusesCount()),
	m_minusesCount(parent->minusesCount()),
	m_isKnow(parent->isKnow())
{ }
WordItem::WordItem(QString word, QString translate, QString transcription, unsigned pluses, unsigned minuses, unsigned known)
	: m_isKnow(known),
	  m_word(word),
	  m_translate(translate),
	  m_transcription(transcription),
	  m_plusesCount(pluses),
	  m_minusesCount(minuses)
{ }
